/**
 *  @FileName: DateDemo.java
 *  @Last Modified Date: CharlW
 *  @Description: 使用SimpleDateFormat格式化日期
 */

import java.util.*;
import java.text.*;

public class DateDemo {
	public static void main(String[] args) {
		Date dNow = new Date();
		SimpleDateFormat ft = 
		new SimpleDateFormat("E yyyy.MM.dd 'at' hh:mm:ss a zz");
		
		System.out.println("Current Date: " + ft.format(dNow));
	}
}